<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<div class="blue-text16" style="margin: 0px 0px 0px 0px">
				<table>
					<tr>
						<td class="heding" align="left">
							My favorite shops
						</td>
						<td class="heding" align="right">
						<div style="margin:0px 8px 0px 0px">
				                              <table border="0" cellspacing="0" cellpadding="0">
				                                <tr>
				                                  <td><img src="images/top/btn-grey-left.gif" alt=" " width="6" height="23" /></td>
				                                  <td class="btn-grey-middle "><div style="margin:0px 5px 6px 5px">
				                                <a href="addToFavoriteShops.htm" class="btn-grey-link">Add to favorite shops </a></div></td>
				                                  <td><img src="images/top/btn-grey-right.gif" alt=" " width="6" height="23" /></td>
				                                </tr>
				                              </table>
				                            </div>

						</td>
					</tr>
				</table>
			</div>
			<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
			<div style="margin: 0px 0px 12px 0px">

<s:form action="deleteFavoriteShops">

	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tbody>
			<tr>
				<td width="100%">
					<table border="0" cellpadding="0" cellspacing="0" width="100%">
						<tbody>
							<display:table name="list" pagesize="10"
								requestURI="favoriteShops.htm" id="row">
								<display:column title="#">
									<s:checkbox name="selectedCategory" theme="simple"
										fieldValue="%{#attr.row.id}" />
								</display:column>
								<display:column value="${row.shopSettings.title}" title="Title:" />
								<display:column title="Added">
									<s:date name="%{#attr.row.date}" format="dd MMMM yyyy" />
								</display:column>
								<display:column autolink="true" title="Options"
									paramProperty="id" href="addToFavorite.htm" paramId="id">
								Edit
							</display:column>
								<display:column title="Note">
									<c:out value="${row.note}"></c:out>
								</display:column>
							</display:table>
							<tr>
								<td width="100%">
									<table border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td>
												<img src="images/middle/btn-grey-left1.gif" alt=" "
													width="6" height="23" />
											</td>
											<td class="btn-grey-middle1 ">
												<s:submit name="delete" value="delete" align="left"
													theme="simple" cssClass="submit-btn-common" disabled="true"/>
											</td>
											<td>
												<img src="images/middle/btn-grey-right1.gif" alt=" "
													width="6" height="23" />
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
		</tbody>
	</table>
</s:form>